<?php
namespace Common\Model;
use Think\Model;
/**
 * 基类Model
 */
class BaseModel extends Model
{
	//传递参数获取count数据
	public function getCountData($map=[]){
		return $this->where($map)->count();
	}
}